//
//  FPSevicePhonePopView.m
//  FinanceProject
//
//  Created by 陈显摆 on 2025/1/24.
//

#import "FPSevicePhonePopView.h"

@implementation FPSevicePhonePopView

- (void)awakeFromNib {
    
    [super awakeFromNib];
    
    self.backgroundColor = UIColor.whiteColor;
    self.clipsToBounds = YES;
    self.layer.cornerRadius = 8.f;
    
    self.tipLab.textColor = [UIColor hexColor:@"#3A3A3A"];
    self.titleLab.textColor = [UIColor hexColor:@"#3A3A3A"];
    
    self.leftBtn.clipsToBounds = YES;
    self.leftBtn.layer.cornerRadius = 22.f;
    self.leftBtn.layer.borderWidth = 1.f;
    self.leftBtn.layer.borderColor = MAIN_BLUE_COLOR.CGColor;
    [self.leftBtn setTitleColor:MAIN_BLUE_COLOR forState:(UIControlStateNormal)];
    self.leftBtn.backgroundColor = UIColor.whiteColor;
    
    self.rightBtn.clipsToBounds = YES;
    self.rightBtn.layer.cornerRadius = 22.f;
    [self.rightBtn setTitleColor:UIColor.whiteColor forState:(UIControlStateNormal)];
    self.rightBtn.backgroundColor = MAIN_BLUE_COLOR;
}

- (void)setPhoneNumber:(NSString *)phoneNumber {
    
    _phoneNumber = phoneNumber;
    self.titleLab.text = phoneNumber;
}

@end
